package com.yg.entity.singleEntity;

import com.baomidou.mybatisplus.annotation.FieldFill;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 此表为字典表，对应各个表中的下拉数据
 * </p>
 *
 * @author YingGu
 * @since 2020-11-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Dictionary对象", description="此表为字典表，对应各个表中的下拉数据")
public class Dictionary implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "字典英文名称")
    private String englishName;

    @ApiModelProperty(value = "字典名称")
    private String name;

    @ApiModelProperty(value = "字典属性")
    private String attribute;

    @ApiModelProperty(value = "字典描述信息")
    private String dictionaryDescribe;

    @ApiModelProperty(value = "排序字段，自定义排序规则，权重越大越高")
    private Integer sort;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private String gmtCreate;


}
